package cn.bugDance.domain.strategy.service;


import cn.bugDance.domain.strategy.model.valobj.RuleWeightVO;
import cn.bugDance.domain.strategy.model.valobj.StrategyDelayJobQueueData;

import java.util.List;

/**
 * 策略对外服务接口
 * 1. takeStrategyJobQueue 从策略延迟队列中获取信息
 * 2. strategyAwardSubtractQuota 更新减少数据库库存
 */
public interface IStrategyQuotaService {

    StrategyDelayJobQueueData takeStrategyJobQueue();

    void strategyAwardSubtractQuota(StrategyDelayJobQueueData strategyDelayJobQueueData);


    List<RuleWeightVO> queryStrategyRuleWeight(Long activityId);
}
